package org.jeecg.modules.quality.mapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.quality.entity.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 质检表
 * @Author: jeecg-boot
 * @Date:   2020-07-23
 * @Version: V1.0
 */
public interface QualityTestingMapper extends BaseMapper<QualityTesting> {
    IPage<QualityTestingVo> selectQualityTestingPage(Page<QualityTestingVo> page, @Param("query") QualityTestingVo qualityTestingVo);
    IPage<QualityReportingVo> selectQualityTestingByReportIdPage(Page<QualityReportingVo> page, @Param("query") QualityReportingVo qualityReportingVo,@Param("loginedUserId") String loginedUserId,@Param("isAll") String isAll);
    IPage<MyPhoneQualityVo> selectMyPhoneQualityPage(Page<MyPhoneQualityVo> page, @Param("query") MyPhoneQualityVo myPhoneQualityVo);
    ReturnQualityVo selectVoById(@Param("id") String id);
    QualityReportingVo selectQualityTestingByReportId(@Param("reportId") String reportId);
}
